package source.model.type;

public enum ItemType {

	COMET				(	"Comet",
							"You can't move past the comet",
							false,
							true,
							false,
							false ),
	
	DERELICTOREREFINERY	(	"Derelict ore refinery",
							"You find a ton of ore in the old refinery!",
							false,
							false,
							true,
							false ),
							
	LASER				(	"Laser",
							"It\'s a laser",
							true,
							false,
							true,
							false ),
							
	COSMICDRILL			(	"Cosmic Drill",
							"It\'s a cosmic drill that lets you bore into Comets for ore",
							true,
							false,
							true,
							false ),
	
	COUNTDOWNMINE		(	"Countdown Mine",
							"It\'s a mine that counts down. Careful, it could blow at any time!",
							true,
							false,
							true,
							false ),
	
	TRAP				(	"Trap",
							"Ackbar: It\'s a trap!",
							false,
							false,
							true,
							true );

	private String name, msg;
	private boolean moveable, obstruction, useable, triggered;
	
	ItemType(String name, String msg, boolean moveable, boolean obstruction, boolean useable, boolean triggered){
		this.name=name;
		this.msg=msg;
		this.moveable=moveable;
		this.obstruction = obstruction;
		this.useable = useable;
		this.triggered = triggered;
	}	
	
	public String getName()			{	return name;				}
	public String getMsg()			{	return msg;					}
	public boolean moveable()		{	return moveable;			}	
	public boolean obstruction()	{	return obstruction;			}
	public boolean useable()		{	return useable;				}
	public boolean triggered()		{	return triggered;			}
}
